import { post } from '@/utils/http'

// ========== 订单公共 API ========== //
// APP端根据用户姓名获取电话集合
export const getPhoneListByMemberName = (data: any) => post({ url: '/V5/czcCustMember/findQuery', data })
// 根据手机号查询
export const findByPhoneAPI = (data: any) => post({ url: '/V5/czcCustMember/findByPhone', data })
// 修改会员信息检查
export const checkMemberAPI = (data: any) => post({ url: '/V5/czcCustMember/checkMember', data })
// 修改已选承租人信息
export const updateMemberSOrderAPI = (data: any) => post({ url: '/V5/sOrder/editMemberInfo', data })
export const updateMemberLOrderAPI = (data: any) => post({ url: '/V5/czsOrderInfo/editMemberInfo', data })
// 获取运营成本总额
export const getOperateCostTotalAPI = (data: any) => post({ url: '/V5/cost/amountCountByBusiness', data })
// 长短租详情-ETC租赁订单
export const getEtcOrder = (data: any) => post({ url: '/V5/etcOrder/selectByRefId', data })

// 短租第三方支付账单
export const queryByRefIdAndType = (data: any) => post({ url: '/V5/thirdPaymentBill/queryByRefIdAndType', data })
